﻿using System;

namespace TS3ServerManager.BL.Eventing
{
    public class ConnectEventArgs : EventArgs
    {
        #region Properties

        public ServerConnectInfo ConnectInfo { get; protected set; }

        #endregion

        #region Constructor

        public ConnectEventArgs(ServerConnectInfo info)
        {
            if (info == null)
                throw new ArgumentNullException("info");

            ConnectInfo = info.Clone();
        }

        #endregion
    }
}